package Model

/*岗位表*/
type APIPost struct {
	PostName string `form:"post_number" json:"post_number"` //部门名称
}

type UniPost struct {
	PostNumber        int    `json:"post_number" form:"post_number"` //岗位编号
	PostName          string `json:"post_name" form:"post_name"`
	PostType          string `json:"post_type" form:"post_type"`                   //岗位类型
	PostEstablishment string `json:"post_establishment" form:"post_establishment"` //岗位编制
}

// 返回查询
type ReturnPost struct {
	UniPost
	DepartmentName string `json:"department_name" form:"department_name"`
}

type Post struct {
	UniPost
	DepartmentNumber  int    `json:"department_number" form:"department_number"`   //部门编号
}
